package com.ys.peony.model;

import java.io.Serializable;
import java.util.List;

/**
 * 业务分页
 * 借款人信息
 * Created by yml on 17/5/27.
 */

public class JiekuanrenModel implements Serializable{

    private static final long serialVersionUID = -5082252738393161329L;

    private String id;//业务主键
    private String patchId;//补件主键
    private String processId;//流程主键
    private String taskId;//任务主键
    private String clientId;//客户主键
    private String clientName = "";//客户姓名
    private String clientClassfyName;//客户分类名称
    private String serialNumber = "";//业务编号
    private String loanStatus;//业务状态（那个状态是0、5、7的时候信息是可以修改的，其他状态的话要把基本信息编辑和抵押物编辑两个按钮质成灰色）
    private List<CarModel> vehicleList;//车辆列表
    private String patch_status;//补件状态

    public String getPatch_status() {
        return patch_status;
    }

    public void setPatch_status(String patch_status) {
        this.patch_status = patch_status;
    }

    public String getPatchId() {
        return patchId;
    }

    public void setPatchId(String patchId) {
        this.patchId = patchId;
    }

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getClientClassfyName() {
        return clientClassfyName;
    }

    public void setClientClassfyName(String clientClassfyName) {
        this.clientClassfyName = clientClassfyName;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getLoanStatus() {
        return loanStatus;
    }

    public void setLoanStatus(String loanStatus) {
        this.loanStatus = loanStatus;
    }

    public List<CarModel> getVehicleList() {
        return vehicleList;
    }

    public void setVehicleList(List<CarModel> vehicleList) {
        this.vehicleList = vehicleList;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj instanceof JiekuanrenModel) {
            JiekuanrenModel obj1 = (JiekuanrenModel) obj;
            return (id.equals(obj1.id));
        }
        return super.equals(obj);
    }
}
